package com.tuanzi.loan.business.service.miniApps.articleLibrary;

import java.util.List;

import org.springframework.data.domain.Page;

import com.tuanzi.loan.business.entity.miniApps.articleLibrary.MiniAppsArticle;
import com.tuanzi.loan.business.entity.miniApps.articleLibrary.MiniAppsRelation;
import com.tuanzi.loan.core.vo.PageSearcher;
import com.tuanzi.loan.vo.request.miniApps.articleLibrary.HealthHeadlineRequest;
import com.tuanzi.loan.vo.response.miniApps.articleLibrary.HealthHeadlineResponse;
import com.tuanzi.loan.vo.view.miniApps.articleLibrary.HealthHeadlineInfoView;
import com.tuanzi.loan.vo.view.miniApps.articleLibrary.MiniAppsArticleUrlVo;

public interface HealthHeadlineService {
	
	void deleteArticle(Long articleId);
	
	MiniAppsArticleUrlVo saveContentConfVideo(HealthHeadlineInfoView view, String videoUrl);
	
	MiniAppsArticleUrlVo saveContentConfImg(HealthHeadlineInfoView view, String imgUrl);
	
	void saveRecommendStatus(Long articleId , int recommendStatus);
	
	void onlineArticle(Long articleId);
	
	void offlineArticle(Long articleId);
	
	HealthHeadlineInfoView loadHealthHeadlineInfoView(Long articleId);
	
	void saveOrUpdHeadlineInfo(HealthHeadlineInfoView view);
	
	Page<HealthHeadlineResponse> list(PageSearcher<HealthHeadlineRequest> pageSearcher);
	
	List<MiniAppsRelation> getTabList();
	
	List<MiniAppsRelation> getMiniAppsList();
	
	List<MiniAppsArticle> getSourceList();
	
	List<MiniAppsRelation> getAdvertiseList();
	
	void cleanCache();
	

}
